package com.aspose.cells;

import java.util.ArrayList;
import java.util.Iterator;

public class SxRng {
   boolean a;
   boolean b;
   int c;
   ArrayList d;
   byte[] e = new byte[2];
   DateTime f;
   DateTime g;
   double h;
   double i;
   double j = 1.0D;
   int k = -1;
   int l = -1;
   zbqs m;
   ArrayList n;

   SxRng(zbqs fdb) {
      this.m = fdb;
      this.a = true;
      this.b = true;
   }

   public Object isAutoStart() {
      return this.a;
   }

   public Object isAutoEnd() {
      return this.b;
   }

   public Object getStart() {
      return this.c == 0 ? this.h : this.f;
   }

   public Object getEnd() {
      return this.c == 0 ? this.i : this.g;
   }

   public Object getBy() {
      return this.j;
   }

   public boolean[] getGroupByTypes() {
      boolean[] var1 = new boolean[]{false, false, false, false, false, false, false, false};
      if (this.m != null && this.m.a() != null) {
         ArrayList var2 = this.m.a().p;
         Iterator var3 = var2.iterator();

         while(var3.hasNext()) {
            zbqs var4 = (zbqs)var3.next();
            if (var4.n() && var4.j.k == this.k) {
               int var5 = var4.j.c;
               switch(var5) {
               case 0:
                  var1[0] = true;
                  break;
               case 1:
                  var1[1] = true;
                  break;
               case 2:
                  var1[2] = true;
                  break;
               case 3:
                  var1[3] = true;
                  break;
               case 4:
                  var1[4] = true;
                  break;
               case 5:
                  var1[5] = true;
                  break;
               case 6:
                  var1[6] = true;
                  break;
               case 7:
                  var1[7] = true;
               }
            }
         }
      }

      return var1;
   }
}
